package com.zangs.emqx_expand.emqx.service;

import java.util.List;
import com.zangs.emqx_expand.emqx.domain.MqttAcl;

/**
 * MQTT 权限Service接口
 * 
 * @author zangs
 * @since 2025-01-26
 */
public interface IMqttAclService 
{
    /**
     * 查询MQTT 权限
     * 
     * @param id MQTT 权限主键
     * @return MQTT 权限
     */
    public MqttAcl selectMqttAclById(Long id);

    /**
     * 查询MQTT 权限列表
     * 
     * @param mqttAcl MQTT 权限
     * @return MQTT 权限集合
     */
    public List<MqttAcl> selectMqttAclList(MqttAcl mqttAcl);

    /**
     * 新增MQTT 权限
     * 
     * @param mqttAcl MQTT 权限
     * @return 结果
     */
    public int insertMqttAcl(MqttAcl mqttAcl);

    /**
     * 修改MQTT 权限
     * 
     * @param mqttAcl MQTT 权限
     * @return 结果
     */
    public int updateMqttAcl(MqttAcl mqttAcl);

    /**
     * 批量删除MQTT 权限
     * 
     * @param ids 需要删除的MQTT 权限主键集合
     * @return 结果
     */
    public int deleteMqttAclByIds(Long[] ids);

    /**
     * 删除MQTT 权限信息
     * 
     * @param id MQTT 权限主键
     * @return 结果
     */
    public int deleteMqttAclById(Long id);
}
